package com.cmc.cloud.cmclink.doc.vo.blnomultiplesovo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;

import org.hibernate.validator.constraints.Length;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import javax.validation.constraints.*;

/**
 * 多so 合并si 关系 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 * @author codegen
 */
@Data
public class BlnoMultipleSoBaseVO {

        @Schema(description = "多so合并的提单id", requiredMode = Schema.RequiredMode.REQUIRED, example = "14655")
    @NotNull(message = "{blnomultipleso.blnoid.notnull}")
    private Long blnoId;
	
        @Schema(description = "参与合并的 so id", requiredMode = Schema.RequiredMode.REQUIRED, example = "30091")
    @NotNull(message = "{blnomultipleso.soid.notnull}")
    private Long soId;
	
        @Schema(description = "so 订舱号", requiredMode = Schema.RequiredMode.REQUIRED, maxLength = 20)
    @NotBlank(message = "{blnomultipleso.bookingno.notblank}")
	@Length(max = 20,message = "{blnomultipleso.bookingno.length}")
    private String bookingNo;
	
        @Schema(description = "so 提单号", requiredMode = Schema.RequiredMode.REQUIRED, maxLength = 50)
    @NotBlank(message = "{blnomultipleso.soblno.notblank}")
	@Length(max = 50,message = "{blnomultipleso.soblno.length}")
    private String soBlNo;
	
        @Schema(description = "是否是 主so", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "{blnomultipleso.mainsoflag.notnull}")
    private Boolean mainSoFlag;
	
}
